From 76ec45a82d4ee9fc878104289e473df50eb518db Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 11 Apr 2006 18:39:25 +0000 Subject: [PATCH] Allow pause to work on waypoints (WPL) in NMEA stream. --- gpsbabel/nmea.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gpsbabel/nmea.c b/gpsbabel/nmea.c index 058544eba..e62124c6d 100644 --- a/gpsbabel/nmea.c +++ b/gpsbabel/nmea.c @@ -746,6 +746,10 @@ nmea_wayptpr(const waypoint *wpt) ); cksum = nmea_cksum(obuf); fprintf(file_out, "$%s*%02X\n", obuf, cksum); + if (sleepus >= 0) { + fflush(file_out); + gb_sleep(sleepus); + } xfree(s); -- 2.30.2